Release 10.1A: OpenEdge Getting Started:
Object-oriented Programming
Programming with Class-based and Procedure-based Objects
The
CLASSstatement provides a clear distinction in Progress between a procedure and a class. Any source file (or larger compilation unit, if you consider the use of include files) that begins with theCLASSstatement defines a class, and any file that does not begin with theCLASSstatement is a procedure. As you have learned, there are several key differences in the language statements you use in procedures and the statements you use in classes. However, always keep in mind that the vast majority of the Progress language statements are usable in both procedures and classes, and in general have the same behavior, with the exceptions noted as part of this and other chapters of this manual.Thus, the sections in this chapter describe:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |